package edu.java.texbooks.scjp.threads.test13;

public class AMTMachine {
	public static void main(String[] args) {

		Account account = new Account();
		Consumer Fred = new Consumer(account, "Fred");
		Consumer Lucy = new Consumer(account, "Lucy");

		Thread FredThread = new Thread(Fred, "FredThread");
		Thread LucyThread = new Thread(Lucy, "LucyThread");

		FredThread.start();
		LucyThread.start();
	}
}
